<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8">

	<title>Bespin 0.9 ("Edison") Release Notes</title>

	<link rel="stylesheet" type="text/css" href="../css/reset.css">
	<link rel="stylesheet" type="text/css" href="../css/stylesheet.css" media="screen,projection">
	<link rel="stylesheet" type="text/css" href="../css/colorful.css">
</head>
<body>

<!-- MAIN CONTAINER -->
<div id="main-container">

<!-- MENU -->
<ul id="menu">
	<li><a href="../index.html" title="Home">Home</a></li>
	<li><a href="../userguide/index.html" title="User Guide">Using Bespin</a></li>
	<li><a href="../pluginguide/index.html" title="Plugin Guide">Creating Plugins</a></li>
	<li><a href="../embedding/index.html" title="Embedding Bespin in your app">Embedding</a></li>
	<li><a href="../devguide/index.html" title="Developer's Guide">Developing Bespin</a></li>
</ul>
<!-- / MENU -->

<h1 id="web-title">Bespin 0.9 ("Edison") Release Notes</h1>


<!-- INDEX PAGE -->

<!-- MAIN COLUMN -->
<div id="maincol">
<p><a href="index.html">Up</a> - Next Release - <a href="notes08.html">Previous Release</a></p>
<h2>Important Changes</h2>
<p>There has been a major plugin API change between 0.8 and 0.9. Please
see the "upgrade notes" later in this file.</p>
<h2>Deprecations</h2>
<p>In order to support themability across Bespin, future versions will only
support the use of LESS files within plugins and dryice will no longer
automatically process CSS files.</p>
<h2>Known Issues</h2>
<p>Bespin 0.9 is <em>alpha</em> software. It is still under active development
and APIs are subject to change.</p>
<p>For <em>Bespin Embedded</em>:</p>
<ul>
<li>The editor does not yet support tab characters (bug 543999)</li>
</ul>
<p>For <em>Bespin Server</em>:</p>
<p>Important note: The Bespin Server is going to undergo a complete rework.
You can read more about this in the <a href="http://groups.google.com/group/bespin/browse_thread/thread/6de8c718d64232a0">Bespin Server Roadmap</a>
that was posted to the mailing list.</p>
<h2>Features</h2>
<ul>
<li>You can now create multiple Bespin editors on a single page. Note: when
  doing so, settings and themes are shared between the Bespin editors.</li>
<li>Supports ctags-based code completion. This feature will be filled out,
  documented and made easier with future releases.</li>
</ul>
<h2>Changes</h2>
<ul>
<li>There is now only one "Bespin Embedded" package which combines the features
  of the earlier "Drop In" and "Customizable" packages.</li>
</ul>
<h2>Fixes</h2>
<ul>
<li>Corrected a problem with the customKeymappings setting</li>
<li>Bespin Embedded and the command line now work with XHTML (thanks to satyr,
  bugs 573721 and 573932)</li>
<li>cmd-L and cmd-F (ctrl- on Windows/Linux) were broken in Embedded builds
  because they required the command line. They have been moved to a separate
  (editing_commands) plugin so that the keys are no longer bound at all
  in Embedded builds. (bug 547058)</li>
<li>fontsize setting was not working (bug 575375, thanks to Mark Spear for the 
  patch)</li>
</ul>
<h2>Upgrade Notes</h2>
<p>In Bespin 0.8 and earlier, command functions had the signature:</p>
<div class="codehilite"><pre><span class="p">(</span><span class="n">env</span><span class="p">,</span> <span class="n">args</span><span class="p">,</span> <span class="n">request</span><span class="p">)</span>
</pre></div>


<p>Starting with Bespin 0.9, the "env" parameter is no longer passed in. The change
is simple. At the top of your file, add:</p>
<p>var env = require('environment').env;</p>
<p>You can then generally just do a search and replace in your file, replacing
<code>(env,</code> with <code>(</code>.</p>
</div>
<!-- / MAIN COLUMN -->

<!-- SIDEBAR -->
<div id="sidebar">










</div>
<!-- / SIDEBAR -->

<!-- / MAIN CONTAINER -->
</div>

<!-- FOOTER -->
<div id="footer">
	<!-- COLUMN ONE -->
	<div>
	<h2 class="compact">Useful Links</h2>
	<ul class="compact">
		<li><a href="http://mozillalabs.com/bespin/">Bespin project home page</a></li>
		<li><a href="https://wiki.mozilla.org/Labs/Bespin">Wiki</a></li>
	</ul>
	</div>
	<!-- / COLUMN ONE -->

	<!-- COLUMN TWO -->
	<div>
	<h2 class="compact">Developer Resources</h2>
	<ul class="compact">
	  <li><a href="http://hg.mozilla.org/labs/bespinclient/">Main Code Repository</a></li>
	  <li><a href="http://hg.mozilla.org/labs/bespinserver/">Python server repository</a></li>
		<li><a href="http://groups.google.com/group/bespin-core/">bespin-core mailing list for developers</a></li>
		<li><a href="http://groups.google.com/group/bespin-commits/">bespin-commits mailing list for repository commit messages</a></li>
		<li><a href="https://bugzilla.mozilla.org/buglist.cgi?product=bespin">Bug List</a></li>
	</ul>
	</div>
	<!-- / COLUMN TWO -->

	<!-- COLUMN THREE -->
	<div>
	<h2 class="compact">Get Help</h2>
	<ul class="compact">
		<li>The <a href="http://groups.google.com/group/bespin/">Bespin mailing list</a></li>
		<li>Via IRC: <a href="irc://irc.mozilla.org/bespin">#bespin on irc.mozilla.org</a></li>
	</ul>

	<h2 class="compact">Documentation Template</h2>
	<ul class="compact">
		<li>Adapted from a design by <a href="http://www.mgrabovsky.is-game.com/">Matěj Grabovský</a></li>
	</ul>
	</div>
	<!-- / COLUMN THREE -->
</div>
<!-- / FOOTER -->

</body>
</html>